﻿using System.Collections.Generic;

namespace LH.Model.APAR
{
    /// <summary>
    /// 应收应付单
    /// </summary>
    public class AP_ApplyVouch
    {
        public AP_ApplyVouch(Head head, List<Body> bodies)
        {
            this.head = head;
            this.bodies = bodies;
        }

        public Head head { get; set; }
        public List<Body> bodies { get; set; }

        public class Head
        {
            public string editprop { get; set; }
            public string Auto_ID { get; set; }
            public string cLink { get; set; }
            public string cVouchID { get; set; }
            public string cVouchID1 { get; set; }
            public string cVouchType { get; set; }
            public string dVouchDate { get; set; }
            public string cPayCode { get; set; }
            public string cDwCode { get; set; }
            public string cDeptCode { get; set; }
            public string cPerson { get; set; }
            public string cPersonName { get; set; }
            public string cItem_Class { get; set; }
            public string cItemCode { get; set; }
            public string cItemName { get; set; }
            public string cDigest { get; set; }
            public string iAmount { get; set; }
            public string cexch_name { get; set; }
            public string iExchRate { get; set; }
            public string iAmount_f { get; set; }
            public string iRAmount_f { get; set; }
            public string iRAmount { get; set; }
            public string iAmount_s { get; set; }
            public string iRAmount_s { get; set; }
            public string iDiscountTaxType { get; set; }
            public string iDiscountTaxTypename { get; set; }
            public string iTaxRate { get; set; }
            public string cCode { get; set; }
            public string cTypeName { get; set; }
            public string cPayName { get; set; }
            public string cVenAbbName { get; set; }
            public string cAuthID { get; set; }
            public string cVenName { get; set; }
            public string cDepName { get; set; }
            public string cFlag { get; set; }
            public string cCheckMan { get; set; }
            public string cOperator { get; set; }
            public string cDwAddress { get; set; }
            public string cDwPostCode { get; set; }
            public string cDwEmail { get; set; }
            public string cDwPerson { get; set; }
            public string cDwPhone { get; set; }
            public string cDwFax { get; set; }
            public string bStartFlag { get; set; }
            public string bd_c { get; set; }
            public string cSrcNo { get; set; }
            public string cCoVouchType { get; set; }
            public string cPZID { get; set; }
            public string VT_ID { get; set; }
            public string Ufts { get; set; }
            public string cDefine1 { get; set; }
            public string cDefine2 { get; set; }
            public string cDefine3 { get; set; }
            public string cDefine4 { get; set; }
            public string cDefine5 { get; set; }
            public string cDefine6 { get; set; }
            public string cDefine7 { get; set; }
            public string cDefine8 { get; set; }
            public string cDefine9 { get; set; }
            public string cDefine10 { get; set; }
            public string cDefine11 { get; set; }
            public string cDefine12 { get; set; }
            public string cDefine13 { get; set; }
            public string cDefine14 { get; set; }
            public string cDefine15 { get; set; }
            public string cDefine16 { get; set; }
            public string cGatheringPlan { get; set; }
            public string cGatheringPlanName { get; set; }
            public string dCreditStart { get; set; }
            public string iCreditPeriod { get; set; }
            public string dGatheringDate { get; set; }
            public string bCredit { get; set; }
            public string dcreatesystime { get; set; }
            public string dverifysystime { get; set; }
            public string dmodifysystime { get; set; }
            public string cmodifier { get; set; }
            public string dmoddate { get; set; }
            public string dverifydate { get; set; }
            public string cOpCode { get; set; }
            public string cContractID { get; set; }
            public string cvoucherstate { get; set; }
            public string csysbarcode { get; set; }
            public string iOriTaxPrice { get; set; }
            public string iTaxPrice { get; set; }
            public string iOriMoney { get; set; }
            public string iMoney { get; set; }

        }

        public class Body
        {
            public string editprop { get; set; }
            public string Auto_ID { get; set; }
            public string cLink { get; set; }
            public string cDwCode { get; set; }
            public string cDeptCode { get; set; }
            public string cPerson { get; set; }
            public string cCusAbbName { get; set; }
            public string cPersonName { get; set; }
            public string cItemCode { get; set; }
            public string cItemName { get; set; }
            public string cItem_Class { get; set; }
            public string iAmount { get; set; }
            public string cexch_name { get; set; }
            public string iExchRate { get; set; }
            public string iAmount_f { get; set; }
            public string cCode { get; set; }
            public string cDepName { get; set; }
            public string cDigest { get; set; }
            public string bd_c { get; set; }
            public string cDirection { get; set; }
            public string iAmt_s { get; set; }
            public string iTaxRate { get; set; }
            public string iTax { get; set; }
            public string iNatTax { get; set; }
            public string iNoTaxAmount_f { get; set; }
            public string iNoTaxAmount { get; set; }
            public string cDefine22 { get; set; }
            public string cDefine23 { get; set; }
            public string cDefine24 { get; set; }
            public string cDefine25 { get; set; }
            public string cDefine26 { get; set; }
            public string cDefine27 { get; set; }
            public string cDefine28 { get; set; }
            public string cDefine29 { get; set; }
            public string cDefine30 { get; set; }
            public string cDefine31 { get; set; }
            public string cDefine32 { get; set; }
            public string cDefine33 { get; set; }
            public string cDefine34 { get; set; }
            public string cDefine35 { get; set; }
            public string cDefine36 { get; set; }
            public string cDefine37 { get; set; }

        }
    }
}
